<template>
  <header class="header">
    <div class="logo">
      <img src="@/assets/images/logo.png" alt="" />
    </div>
    <div class="search">
      <i class="iconfont icon-fangdajing"></i>
      <span>搜您喜欢的 . . .</span>
    </div>
    <div class="kefu">
      <i class="iconfont icon-kefu"></i>
    </div>
  </header>
</template>

<script>
export default {};
</script>

<style lang="less" scoped>
.header {
  z-index: 999;
  width: 100%;
  height: 1.17333rem;
  background-color: #b0352f;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  .logo {
    width: 2.2667rem;
    height: 1.1733rem;
    margin: 0 0.2667rem 0 0.1333rem;
    display: flex;
    justify-content: center;
    align-items: center;
    img {
      width: 80%;
      height: 80%;
    }
  }
  .search {
    width: 6rem;
    height: 0.8rem;
    background-color: #fff;
    border-radius: 0.32rem;
    display: flex;
    align-items: center;
    color: #ccc;
    .iconfont {
      font-size: 0.5333rem;
      margin: 0 0.1333rem;
    }
    span {
      font-size: 0.3733rem;
    }
  }
  .kefu {
    .iconfont {
      font-size: 0.8rem;
      margin-left: 0.1867rem;
      color: #fff;
    }
  }
}
</style>